import { getterSources } from '../../sources/getters';
import { SourceKey } from '@/sources/types';

export class NewsService {

  /**
   * 获取百度热搜数据
   * @returns 
   */
  async getNews(id: string) {
    return await getterSources(id as SourceKey);
  }

}